package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 加工厂管理对象 factory
 * 
 * @author ruoyi
 * @date 2024-11-27
 */
public class Factory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 加工厂id */
    private Long factoryId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 加工厂名字 */
    @Excel(name = "加工厂名字")
    private String factoryName;

    /** 店铺电话 */
    @Excel(name = "店铺电话")
    private String phone;

    /** 店铺售卖服装类型 */
    @Excel(name = "店铺售卖服装类型")
    private String type;

    /** 加工厂地址 */
    @Excel(name = "加工厂地址")
    private String location;

    /** 店铺描述 */
    @Excel(name = "店铺描述")
    private String description;

    /** 开店资质 */
    @Excel(name = "开店资质")
    private String licence;

    /** 开店人姓名 */
    @Excel(name = "开店人姓名")
    private String keepername;

    /** 开店人证件 */
    @Excel(name = "开店人证件")
    private String keeperIDcard;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String status;

    public void setFactoryId(Long factoryId) 
    {
        this.factoryId = factoryId;
    }

    public Long getFactoryId() 
    {
        return factoryId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setLicence(String licence) 
    {
        this.licence = licence;
    }

    public String getLicence() 
    {
        return licence;
    }
    public void setKeepername(String keepername) 
    {
        this.keepername = keepername;
    }

    public String getKeepername() 
    {
        return keepername;
    }
    public void setKeeperIDcard(String keeperIDcard) 
    {
        this.keeperIDcard = keeperIDcard;
    }

    public String getKeeperIDcard() 
    {
        return keeperIDcard;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("factoryId", getFactoryId())
            .append("userId", getUserId())
            .append("factoryName", getFactoryName())
            .append("phone", getPhone())
            .append("type", getType())
            .append("location", getLocation())
            .append("description", getDescription())
            .append("licence", getLicence())
            .append("keepername", getKeepername())
            .append("keeperIDcard", getKeeperIDcard())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
